#define render_children_menu(roles,parentId)
    #setLocal(auths=com.jfinal.utils.AuthUtils::getChildAuth(roles,parentId,1))
    #for(auth : auths)
        #setLocal(tempList=com.jfinal.utils.AuthUtils::getChildAuth(roles,auth.getLong("id"),1))
        <li>
            <a
                    #if(tempList.size()==0)
                    class="J_menuItem"
                    #end
                    href='
                    #if(tempList.size()==0)
                        #(auth.getStr("action"))
                    #else
                        #
                    #end'>
                #if(parentId==null)
                <i class='#(auth.getStr("logo"))'></i>
                #end
                <span class="nav-label">#(auth.getStr("name"))</span>
                #if(tempList.size()>0)
                <span class="fa arrow"></span>
                #end
            </a>

            #if(tempList.size()>0)
                <ul class="nav">
                #@render_children_menu(roles,auth.getLong("id"))
                </ul>
            #end
        </li>
    #end
#end